#pragma once
#include "Scene.h"

ref class Selector
{
private:
	int actionNum;
	int linkNum;
	Scene^ source;
	array<int>^ SelectorAction;
	array<int>^ SelectorLink;

public:
	array<System::Windows::Forms::PictureBox^>^ SelectorUpLeft;
	array<System::Windows::Forms::PictureBox^>^ SelectorUpRight;
	array<System::Windows::Forms::PictureBox^>^ SelectorDownLeft;
	array<System::Windows::Forms::PictureBox^>^ SelectorDownRight;
	Selector(Scene^ project);

	int getResizeTool(System::Object^  object);
	int addAction(int n);
	int addLink(int n);
	void deleteSelected();
	void null();
	void paint(int selector);
	void move(int x,int y);
	void resize(int x,int y,int w,int h);
	void setText(System::String^ newText);
	int getActionNum();
	int getLinkNum();
	int getFirst();
	int getSecond();
	Selector^ MakeEqual(Selector^ other);
};
